{extend name="layout/layout"}
{block name="content"}
<main class="active">
    <div class="head_a1">
        <div class="layui-main">
            <div class="b1">
                <div class="t1">步驟一：活動資訊( 活動內容 )</div>
                <a href="/" class="back_btn"><img src="__ROOT__/public/activity/images/out.png">返回首页</a>
            </div>
        </div>
    </div>
    <div class="main_a">
        <div class="layui-main">
            <div class="active_w active6 ">
                <form class="layui-form" lay-filter="content-form">
                    <p class="text-align-center ft18 mb40 ft-bold">詳細介紹你的活動內容，讓參加者了解活動且提高參加意願！</p>
                    <div class="layui-form-item">
                        <div class="label must">活動摘要<p class=" tip1">請充分描繪活動亮點，包括「活動關鍵詞」。以提高 Google 搜尋的曝光成效。</p>
                        </div>
                        <div class="">
                            <textarea lay-verify="required" name="abstract" class="layui-textarea" placeholder="请填写活動摘要"
                                style="min-height: 3rem;">{$vo.abstract|default=''}</textarea>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="label must">活動簡介<p class=" tip1">请填写活动内容介绍信息。</p>
                        </div>
                        <div class="">
								<textarea name="desc" lay-verify="required" class="layui-textarea" placeholder="请填写活动内容介绍"
                                          style="min-height: 3rem;">{$vo.desc|default=''}</textarea>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="label ">注意事項<p class=" tip1">请填写活动相关注意事项。</p>
                        </div>
                        <div class="">
                            <textarea name="notice" class="layui-textarea" style="min-height: 3rem;">{$vo.notice|default=''}</textarea>
                        </div>
                    </div>

                </form>
                <div class="mt100 d-flex jc-s al-c">
                    <a href="/activity/create/info.html" class="last-btn">
                        <img src="__ROOT__/public/activity/images/out1.png">返回上一步
                    </a>
                    <a href="javascript:;" onclick="goNext()">
                        <button class="layui-btn layui-bg-orange next-btn">下一步</button>
                    </a>
                </div>
            </div>

        </div>
    </div>
    <script>
        function goNext() {
            var data = layui.form.val('content-form')
            $.quickPost('{:url("/activity/create/content")}', data).done(res=> {
                location.href = '/activity/create/guest.html';
            });
        }
    </script>
</main>

{/block}